﻿using Abp.Dependency;
using GN.Pay.Core.Entities;
using GN.Pay.Core.Values;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 付款通知服务
    /// </summary>
    public interface IPayNotifyService : ISingletonDependency
    {
        /// <summary>
        /// 付款成功
        /// </summary>
        /// <param name="tradeNotify"></param>
        Task PaySuccess(TradeNotify tradeNotify);

        /// <summary>
        /// 通知成功
        /// </summary>
        /// <param name="tradeNotify"></param>
        Task NotifySuccess(TradeNotify tradeNotify);
    }
}
